<template>
		<el-container style="height: 750px; border: 1px solid #eee">
		  <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
		    <el-menu   router>
				
		      <el-submenu index="1">
		        <template slot="title"><i class="el-icon-menu"></i>供应商管理</template>
				<el-menu-item-group>
				    <el-menu-item index="/SupplierSearch2">查询供应商信息</el-menu-item>
				</el-menu-item-group>
		      </el-submenu>
				
		      <el-submenu index="2">
		        <template slot="title"><i class="el-icon-menu"></i>商品管理</template>
				<el-menu-item-group>
					<el-menu-item index="/GoodsSearch2">查询商品信息</el-menu-item>	
				</el-menu-item-group>
		      </el-submenu>
			  
		      <el-submenu index="3">
		        <template slot="title"><i class="el-icon-menu"></i>员工管理</template>
				<el-menu-item-group>
				<el-menu-item index="/EmployeeSearch2">查询员工信息</el-menu-item>
				</el-menu-item-group>
		      </el-submenu>
			  
			  <el-submenu index="4">
			    <template slot="title"><i class="el-icon-menu"></i>采购管理</template>
				<el-menu-item-group>
				<el-menu-item index="/MainSearch2">查询采购主表</el-menu-item>
				<el-menu-item index="/DetailSearch2">查询采购明细表</el-menu-item>
				</el-menu-item-group>
				
				
				
			  </el-submenu>
		    </el-menu>
		  </el-aside>
		  
		  <el-container>
		    <el-header style="text-align: right; font-size: 12px">
		      <el-dropdown>
		        <i class="el-icon-setting" style="margin-right: 15px"></i>
		      </el-dropdown>
		      <span>员工</span>
		    </el-header>
		    
		    <el-main>
		      <router-view></router-view>
		    </el-main>
		  </el-container>
		</el-container>		
</template>

<style>
  .el-header {
    background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
  }
  
  .el-aside {
    color: #333;
  }
</style>

<script>
  export default {
	  name:"User",
  };
</script>